/**
 * Created by Administrator on 2017/10/15.
 */

//JavaScript代码区域
layui.use('element', function () {
    var $ = layui.$,
        element = layui.element;

    element.on('nav(nav-tree)', function (elem) {  //绑定左侧菜单点击事件
        $("#main-frame").attr("src",elem.data("uri"));
    });
});